package com.bosssoft.trainee.nontax.entity.po;

import lombok.*;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.io.Serializable;

/**
 * (RolePermission)实体类
 *
 * @author makejava
 * @since 2022-06-05 16:39:55
 */
@Component
@Builder
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of={"roleId", "permissionId"})
public class RolePermission implements Serializable {
    private static final long serialVersionUID = -38823322788278714L;
    
    private Integer roleId;
    /**
     * 软删除 0可用 非0表示已被删除
     */
    private Integer isValid;
    
    private Date createTime;
    
    private Date updateTime;
    
    private Integer permissionId;
}

